<div id="page-wrapper">
        <!-- /.row -->
    <div class="row">
        <div class="col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading"><span class="judul-page">Edit Master Agama</span></div>
                <div class="panel-body">
					<?php 
						echo form_open_multipart('mr_agama/update', array('class' => 'form-horizontal', 'role' => 'form')); 
						foreach ($list as $row){ 
					?>
						<input type="hidden" name="id_mr_agama" value="<?php echo $row->id_mr_agama; ?>">
						
						<div class="form-group">
							<label class="col-sm-2 control-label">Agama</label>
							<div class="col-sm-7">
								<input type="text" name="agama" class="form-control input-sm" placeholder="Agama" value="<?php echo $row->agama; ?>">
							</div>
						</div>
						
                      <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-9">
                          <button type="submit" class="btn btn-primary btn-sm">Update</button>
                          <button type="reset" class="btn btn-danger btn-sm" onclick="history.back(-1)">Batal</button>
                        </div>
                      </div>
                    <?php 
						}
						echo form_close();
					?>
                </div>
            </div>
        </div>
    </div>
    <!-- /.row -->
</div>
<!-- /#page-wrapper -->